﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Inventory_Targe_Maintain.aspx.cs" MasterPageFile="~/MasterPage.master"
    Inherits="Inventory_Targe_Maintain" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>库存目标计算公式</title>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <table id="wsd_inputtable">
            <tr>
                <td colspan="4" class="tabletitle"  >
                    <font color="red" size="2"><b>提示:*为必填项</b></font>
                </td>
            </tr>
  
            <tr>
                <td class="tablefield" style="width: 13%">
                    <span class="keyword">*</span>名称:
                </td>
                <td>
                    <asp:TextBox runat="server" ID="txtName" MaxLength="20"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="该项不能为空"
                        ControlToValidate="txtName" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
                <td class="tablefield" style="width: 13%">
                    西格马因子:
                </td>
                <td nowrap="nowrap">
                    <asp:TextBox runat="server" ID="txtCSLLEVELFACTOR" MaxLength="3"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="该项不能为空"
                        ControlToValidate="txtCSLLEVELFACTOR" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator5" ControlToValidate="txtCSLLEVELFACTOR"
                        ValidationExpression="^[0-9]{1}(\.[0-9]){0,1}$" 
                        ErrorMessage="该项最大不超过10的正数"   runat="server" Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
                
            </tr>
            <tr>
                <td class="tablefield" style="width: 13%">
                    <span class="keyword">*</span>订单间隔:
                </td>
                <td nowrap="nowrap">
                    <asp:TextBox runat="server" ID="txtInterval" MaxLength="3"></asp:TextBox>
                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="该项不能为空"
                        ControlToValidate="txtInterval" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" ControlToValidate="txtInterval"
                        ValidationExpression="^[0-9]\d*$" ErrorMessage="该项应为正整数"  runat="server" 
                        Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
                <td class="tablefield" style="width: 13%">
                    P合计:
                </td>
                <td nowrap="nowrap">
                    <asp:TextBox runat="server" ID="txtPTotal" MaxLength="10"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtPTotal"
                        ErrorMessage="该项不能为空" Display="Dynamic" ></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server"  
                        ErrorMessage="该项应为数字" 
                        ValidationExpression="^(\d{1,3}(,\d\d\d)*(\.\d+)?|\d+(\.\d+)?)$" 
                        ControlToValidate="txtPTotal" Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" style="width: 13%">
                    A(类)补货天数:
                </td>
                <td nowrap="nowrap">
                    <asp:TextBox runat="server" ID="txtSupplyA" MaxLength="3"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="该项不能为空"
                        ControlToValidate="txtSupplyA" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" ControlToValidate="txtSupplyA"
                        ValidationExpression="^[0-9]\d*$" ErrorMessage="该项应为正整数"  runat="server" 
                        Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
                <td class="tablefield" style="width: 13%">
                    B(类)补货天数:
                </td>
                <td nowrap="nowrap">
                    <asp:TextBox runat="server" ID="txtSupplyB" MaxLength="3"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="该项不能为空"
                         ControlToValidate="txtSupplyB" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" ControlToValidate="txtSupplyB"
                        ValidationExpression="^[0-9]\d*$" ErrorMessage="该项应为正整数"  runat="server" 
                        Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" colspan="" style="width: 13%">
                    有效:
                </td>
                <td nowrap="nowrap" colspan="3">
                    <asp:CheckBox runat="server" ID="cbxIsValid" Checked="true" />
                </td>
            </tr>
        </table>
        <br />
        <table id="wsd_inputtable">
            <tr>
                <td class="tabletitle">
                    历史销量占比
                </td>
            </tr>
        </table>
        <table width="100%" id="wsd_inputtable">
            <tr>
                <td class="leftfield">
                    W0
                </td>
                <td class="leftfield">
                    W1
                </td>
                <td class="leftfield">
                    W2
                </td>
                <td class="leftfield">
                    W3
                </td>
                <td class="leftfield">
                    W4
                </td>
                <td class="leftfield">
                    W5
                </td>
                <td class="leftfield">
                    W6
                </td>
                <td class="leftfield">
                    W7
                </td>
                <td class="leftfield">
                    W8
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtW0"  runat="server" MaxLength="5" Width="50"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txtW1"  Width="50" MaxLength="5" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txtW2"  Width="50" MaxLength="5" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txtW3"  runat="server" MaxLength="5" Width="50"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txtW4"  runat="server" MaxLength="5" Width="50"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txtW5"  runat="server" MaxLength="5" Width="50"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txtW6"  Width="50" MaxLength="5" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txtW7"  Width="50" MaxLength="5" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txtW8"  Width="50" MaxLength="5" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
        <br />
        <table id="wsd_inputtable">
            <tr>
                <td width="100%" class="tabletitle" >
                    操作选项
                </td>
            </tr>
            <tr>
                <td class="buttonarea">
                    &nbsp;
                    <asp:Button ID="btnSave" runat="server" class="wsd_button2" Text="提  交" OnClick="btnSave_Click" />&nbsp;&nbsp;
                    <asp:Button ID="btnCancel" runat="server" class="wsd_button2" Text="返  回" CausesValidation="false"  OnClick="btnCancel_Click" />
                </td>
            </tr>
        </table>
    </div>
 </asp:Content>
